package com.anjubao.parking.municipal.parkinglot.mapper;

import com.anjubao.parking.municipal.basezone.dto.DistrictsResDto;
import com.anjubao.parking.municipal.parkinglot.model.BaseZone;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author anjubao
 */
@Mapper
public interface BaseZoneMapper extends BaseMapper<BaseZone> {

    /**
     * 根据城市ID查找区域数据
     * @param cityId
     * @return
     */
    List<DistrictsResDto> findDistricts(@Param("cityId") int cityId);
}
